//
//  GYXStatusToolBar.swift
//  GYXWeibo
//
//  Created by Twisal on 2017/3/10.
//  Copyright © 2017年 Twisal. All rights reserved.
//

import UIKit

class GYXStatusToolBar: UIView {
    
    
    /// 视图模型
    var viewModel: GYXStatusViewModel? {
        didSet {
            retweetButton.setTitle(viewModel?.retweetedStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    /// 转发
    @IBOutlet weak var retweetButton: UIButton!
    /// 评论
    @IBOutlet weak var commentButton: UIButton!
    /// 点赞
    @IBOutlet weak var likeButton: UIButton!
    
    /// 转发按钮点击
    @IBAction func retweetClick() {
        
    }
    
    
    /// 评论点击
    @IBAction func commentClick() {
        
    }
    
    
    /// 点赞点击
    @IBAction func likeClick() {
        
    }
}
